package com.pig.graduate.domain.material;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.pig.graduate.domain.BaseEntity;
import lombok.Data;

/**
 * 
 * @TableName material_pig
 */
@TableName(value ="material_pig")
@Data
public class MaterialPig extends BaseEntity implements Serializable {

    /**
     * 物料名称
     */
    private String name;

    /**
     * 物料类型
     */
    private String type;

    /**
     * 规格
     */
    private String specification;

    /**
     * 计量单位
     */
    private String unitOfMeasure;

    /**
     * 默认单价
     */
    private BigDecimal unitPrice;

    /**
     * 保质期
     */
    private String shelfLife;

    /**
     * 到期提醒
     */
    private String expiryReminders;

    /**
     * 操作人员
     */
    private Long operatorsUser;
    @TableField(exist = false)
    private String operatorsUserName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}